libxl: introduce a way to mark fields as deprecated in the idl
authorRoger Pau Monne <roger.pau@citrix.com>
Thu, 28 Sep 2017 11:04:06 +0000 (12:04 +0100)
committerRoger Pau Monne <roger.pau@citrix.com>
Thu, 28 Sep 2017 11:04:06 +0000 (12:04 +0100)
commit48364fcfcb6f1545cdf4a5a46a6999c34b837950
tree80ae2d15c4fe227cc98b6c2968dc39befa0cffc8
parentbfbc4b64afb83713b6340efbd7adda3087bcc2f6
libxl: introduce a way to mark fields as deprecated in the idl

The deprecation involves generating a function that copies the
deprecated fields into it's new location if the new location has not
been set.

The fields that are going to be shared between PVH and HVM or between
PVH and PV are moved to the top level of libxl_domain_build_info, and
the old locations are marked as deprecated.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/gentypes.py
tools/libxl/idl.py
tools/libxl/libxl_types.idl